extends "../xuefeng-1/xuefeng-1.gd"

func _extInit():
	._extInit()
	lv = 2
	addSkill("雪风会保护大家的！战斗开始时，使最靠前的5名友军获得100点机动，持续8秒", "吴之雪风")

var p2 = 8
var enemy = null
var ally = null
func _onBattleStart():
	._onBattleStart()
	enemy = null
	ally = null

	var chas = getAllChas(2)
	chas.sort_custom(self,"sortByFront")
	var index = 0
	for i in chas:
		if index >= chas.size():break
		i.addBuff(buff.b_dod.new(100, p2))	
		index += 1